package com.zys;

import com.zys.mappers.GxaUserMapper;
import com.zys.zys_mybatis.MapperProxyFactory;
import com.zys.pojo.entity.GxaUser;

import java.util.List;

/**
 * @BelongsProject: ZYSMybatis
 * @BelongsPackage: com.zys
 * @Author: ZYS
 * @CreateTime: 2024-05-24  21:19
 * @Description: TODO
 */
public class MyApplication {
    public static void main(String[] args) {
        MapperProxyFactory mapperProxyFactory = new MapperProxyFactory();
        GxaUserMapper mapper = mapperProxyFactory.getMapper(GxaUserMapper.class);
        GxaUser userById = mapper.getUserById(1);
        System.out.println(userById);
    }
}
